package com.ren.mianshi.constant;

/**
 * 网络请求
 */

public class HttpConstant {


    /**
     * 消息头
     */
    public static String HEADER_SESSION_ID_STRING = "Session-Id";

    /**
     * 网络请求成功
     */
    public static final int RESULT_DB = 1000;
    public static final int RESULT_OK = 0;
    public static final int REQUEST_TIMEOUT = 30;//联网超时时间

    /**
     * 服务器响应状态码
     */
    public static int HTTP_CODE_FAIL_INT = -1;//接口功能调用失败
    public static int HTTP_CODE_TIME_FAIL_INT = 5;//管理员密码错误超标
    public static int HTTP_CODE_SESSION_FAIL_INT = 2;//登录过期
    public static int HTTP_CODE_ACCOUNT_FAIL_INT = 13;//管理员不存在
    public static int HTTTP_CODE_PAYMENT_EMPTY_INT = 11;//订单不存在
    public static int HTTP_CODE_PASSWOED_FAIL_INT = 14;//管理员密码错误
    public static int HTTP_CODE_EMPTY_FAIL_INT = 62;//空订单信息

}
